package com.joesem.sale.client.network.data

/**
 * @Time 2023/2/22 10:41:30
 * @Description
 **/


class CustomerListMode(
    val address: String? = null,
    val city_id: Int? = null,
    val city_name: String? = null,
    val contact_at: String? = null,
    val country_id: Int? = null,
    val country_name: String? = null,
    val county_id: Int? = null,
    val county_name: String? = null,
    val create_time: String? = null,
    val create_user_id: Int? = null,
    val customer_number: String? = null,
    val customer_type_name: String? = null,
    val customer_user_id: Int? = null,
    val department_id: Int? = null,
    val department_name: String? = null,
    val detail_address: String? = null,
    val entry_type_name: String? = null,
    val id: Int? = null,
    val industry_name: String? = null,
    val mark: Int? = null,
    val name: String? = null,
    val owner_id: Int? = null,
    val owner_name: String? = null,
    val parent_id: Int? = null,
    val province_id: Int? = null,
    val province_name: String? = null,
    val safe_level: String? = null,
    val service_limit: Int? = null,
    val short_name: String? = null,
    val source: String? = null,
    val status: Int? = null,
    val tag_name: String? = null,
    val update_time: String? = null,
    val user: User? = null
) {
    override fun toString(): String {
        return "CustomerListMode(address=$address, city_id=$city_id, city_name=$city_name, contact_at=$contact_at, country_id=$country_id, country_name=$country_name, county_id=$county_id, county_name=$county_name, create_time=$create_time, create_user_id=$create_user_id, customer_number=$customer_number, customer_type_name=$customer_type_name, customer_user_id=$customer_user_id, department_id=$department_id, department_name=$department_name, detail_address=$detail_address, entry_type_name=$entry_type_name, id=$id, industry_name=$industry_name, mark=$mark, name=$name, owner_id=$owner_id, owner_name=$owner_name, parent_id=$parent_id, province_id=$province_id, province_name=$province_name, safe_level=$safe_level, service_limit=$service_limit, short_name=$short_name, source=$source, status=$status, tag_name=$tag_name, update_time=$update_time)"
    }

     class User(
        val address: String? = null,
        val birthday: String? = null,
        val city_id: Int? = null,
        val city_name: String? = null,
        val country_id: Int? = null,
        val country_name: String? = null,
        val county_id: Int? = null,
        val county_name: String? = null,
        val create_time: String? = null,
        val create_user_id: Int? = null,
        val customer_id: Int? = null,
        val customer_name: String? = null,
        val detail_address: String? = null,
        val duty: String? = null,
        val email: String? = null,
        val gender: String? = null,
        val gender_text: String? = null,
        val id: Int? = null,
        val is_default: Boolean? = null,
        val name: String? = null,
        val office_phone: String? = null,
        val phone: String? = null,
        val project_role: String? = null,
        val province_id: Int? = null,
        val province_name: String? = null,
        val status: Int? = null,
        val update_time: String? = null
    )
}

